﻿<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
		<script type="text/javascript">
			//链表
			var stu = {
				name : "张三",
				age : 20,
				classmate : {
					name : "李四",
					age : 20,
					classmate : {
						name : "王五",
						age : 20,
						classmate : {
							name : "赵六",
							age : 20,
						}
					}
				}
			};
			//
			newstu.classmate = stu.classmate.classmate
			stu.classmate.classmate = newstu;
			var newstu = {
				name : "新同学",
				age : 20,
			}
		</script>
     </head>
    <body>
		
    </body>
</html>
